package org.utahgtug.site.service;

import com.google.gdata.client.blogger.BloggerService;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Controller;

/**
 * Created by IntelliJ IDEA.
 * User: danlangford
 * Date: 1/5/12
 */
@Controller
public class BloggerServiceFactoryBean implements FactoryBean<BloggerService> {

	@Override
	public BloggerService getObject() throws Exception {
		return new BloggerService("ugtug");
	}

	@Override
	public Class<BloggerService> getObjectType() {
		return BloggerService.class;
	}

	@Override
	public boolean isSingleton() {
		return true;
	}

}
